package com.xc.ezplan.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xc.ezplan.admin.entity.AdminJob;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xc.ezplan.admin.vo.AdminJobVo;
import com.xc.ezplan.core.base.SearchCondition;


import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Set;

/**
 * @author lixingchen
 * @date 2022/11/19
 * @description 岗位管理接口
 */
public interface AdminJobService extends IService<AdminJob> {

    void createJob(AdminJobVo adminJobVo);

    void deleteJob(List<Long> ids);

    void updateJob(AdminJobVo adminJobVo);

    Object pageQueryJob(SearchCondition searchCondition, Page<AdminJob> page);

    void exportJob(HttpServletResponse response, List<AdminJobVo> adminJobVos) throws IOException;

    Object findJobById(Long jobId);
}
